Skip to content

Allow decodeEventUpload to decode json with strings#47

Open
cabillman wants to merge 1 commit intogroob:masterfrom
cabillman:event_upload_fix
Open

Allow decodeEventUpload to decode json with strings#47
cabillman wants to merge 1 commit intogroob:masterfrom
cabillman:event_upload_fix

Conversation

@cabillman
Copy link

Santa client sometimes sends file_bundle_hash_millis enclosed in quotes causing the following error

{"caller":"mux.go:159","err":"decoding event upload request json: json: cannot unmarshal string into Go struct field EventUploadEvent.events.file_bundle_hash_millis of type float64","severity":"info","ts":"2025-05-21T16:00:14.675111546Z"}

Santa sometimes sends file_bundle_hash_millis enclosed in quotes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments